package com.edu.service;

import com.edu.entity.OrderEntity;

import java.util.LinkedList;

/**
 * com.edu.service.impl
 * 2024/7/11 9:00
 *
 * @author Fancy
 * @version 1.0
 */
public interface OrdersService {

    int getOrderIdNoSettled(int userId);

    LinkedList<OrderEntity> getAllOrderByUserId(int userId);

    int updateOrderStatus(int orderId, String newStatus, String role);

    int deleteOrder(int orderId);
}
